home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / ProgramFilesFolder / Data / Interface / Gizmo II SI.mat < prev    next >
Encoding:
Text File  |  2004-03-04  |  787 b   |  36 lines

  1. Shader()
  2. {
  3.     ClearDepthStencil()
  4.     SortWeight("translucent14")
  5.  
  6.     Pass()
  7.     {
  8.         Lighting()
  9.  
  10.         tmu()
  11.         {
  12.             Texture()
  13.             {
  14.                 Image("gizmo.dds")
  15.             }
  16.             //ColorOp( "mul", "texture", "tfactor", "current")
  17.             alphaop("arg2", "texture", "tfactor", "current")
  18.         }
  19.  
  20.         AmbientColor(1.000, 1.000, 1.000, 1.000)
  21.         DiffuseColor(1.000, 1.000, 1.000, 1.000)
  22.         SpecularColor(0.000, 0.000, 0.000, 1.000)
  23.         EmissiveColor(0.000, 0.000, 0.000, 1.000)
  24.         SpecularPow(0.000)
  25.         Tfactor( 0.5, 0.5, 0.5, 0.35)
  26.  
  27.         BlendFunc("src_alpha", "inv_src_alpha")
  28.         //BlendFunc("one", "one")
  29.         DepthFunc("lequal", 0)
  30.     }
  31.  
  32.     Cull("cw")
  33. }
  34.  
  35.  
  36.